<%@ include file="/WEB-INF/jsp/includes/include.jsp" %>
<%@ attribute name="feedbacks" required="true" type="java.util.Collection" %>

<p style="clear:both"><a id="showFeedback" href="#">Show feedback for this seller.</a></p>
<div id="feedbackBox" style="display:none">
	<c:if test="${feedbacks != null}">
		<ul>
			<c:forEach var="feedback" items="${feedbacks}" varStatus="rowCounter">
				<li>
					rate: ${feedback.rate}<br />
					<c:out value="${feedback.description}" escapeXml="true" />
				</li>
			</c:forEach>
		</ul>
	</c:if>
	<c:if test="${fn:length(feedbacks) == 0}">
		<p>No feedback was found.</p>
	</c:if>
</div>
